#ifndef SPEED_ADD_DEC_H
#define SPEED_ADD_DEC_H

#include <QWidget>
#include "util/util.h"

namespace Ui {
class speed_add_dec;
}

class speed_add_dec : public QWidget
{
    Q_OBJECT

public:
    explicit speed_add_dec(QWidget *parent = 0);
    ~speed_add_dec();


signals:
    void returnMenu();
    void returnTeachMode();
    void returnCalTimer();

private slots:
    void pushReturnMenu();
    void pushReturnTeachMode();
    void pushReturnCalTimer();

private:
    Ui::speed_add_dec *ui;
    void initializeBackground();
    void connectSignalsAndSlots();
    void setDefaultSpeedParam();
    void changeSpeedParam(QString axisName, int ifAddOrDec);
    void displaySpeedParam();
};

#endif // SPEED_ADD_DEC_H
